import Subject from './subject.vue'
import SubjectSearch from './subjectSearch.vue'
import SubjectView from './subjectView.vue'
import SubjectDelete from './subjectDelete.vue'
import SubjectImport from './subjectImport.vue'
import SubjectNewAdd from './subjectNewAdd.vue'

const components = [
    Subject,
    SubjectSearch,
    SubjectView,
    SubjectDelete,
    SubjectImport,
    SubjectNewAdd
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}
export default main
